Install VirtualBox on Ubuntu 12.04.1 (on [Samsung] Chromebook)

Posted by iphonedev7 on Super User See other posts from Super User or by iphonedev7
Published on 2012-12-08T23:28:50Z Indexed on 2013/10/30 10:00 UTC
Read the original article Hit count: 299

I have dual booted Ubuntu Linux 12.04.1 LTS on my Samsung Series 5 ChromeBook, and am trying to run/install Oracle VirtualBox (from the generic .run file downloaded from their website). However, every time I try to run it (as root from the command line), it gives me the following error occurs:

Please install the build and header files for your current Linux kernel.
The current kernel version is 3.4.0
Problems were found which would prevent VirtualBox from installing.

I have tried the version from the Software Center, as well as the command line installation, both of which gave me errors based on my linux-headers/linux-kernel/linux-[kernel]-image.

Here's an error I keep getting (on the command line):

First Installation: checking all kernels...
It is likely that 3.4.0 belongs to a chroot's host
Building only for 3.5.0-18-generic
Building initial module for 3.5.0-18-generic
ERROR (dkms apport): kernel package linux-headers-3.5.0-18-generic is not supported
Error! Bad return status for module build on kernel: 3.5.0-18-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
Setting up virtualbox-qt (4.1.12-dfsg-2ubuntu0.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

...And one of the more cryptic errors I get when trying to start any Virtual Machine:

Result Code:      NS_ERROR_FAILURE (0x80004005)
Component:        Machine
Interface:        IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

© Super User or respective owner

Related posts about virtualbox

Related posts about ubuntu-12.04